home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990422-19990725
/
000283_news@columbia.edu _Sun Jul 18 22:25:03 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-07-23
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA12347
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 18 Jul 1999 22:25:01 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA15040
for kermit.misc@watsun.cc.columbia.edu; Sun, 18 Jul 1999 22:12:59 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <379288D1.6A692568@hastdeer.com.au>
From: Rob Irvine <robi@hastdeer.com.au>
Organization: Hastings Deering
Subject: default file destination after a reconnection.
Date: Mon, 19 Jul 1999 12:09:21 +1000
To: kermit.misc@columbia.edu
We use kermit to send files from a Sun Sparc 7 Unix kermit (6.0.192)
client to a Win95 Kermit 95 (1.1.17) server using the following 2
scripts. This all works just fine with the Server PC being in a
warehouse. My problem occurs if the PC is stopped for some reason and
the Unix client initiates the following script while it is stopped. It
waits till the PC is brought up, but sends the first file to the default
c:\k95 directory instead of c:\scar\host. I have tried putting the whole
pathname\filename in the send line , but this doesn't make any
difference. The second file is transmitted correctly. As I have at
least 2 applications using the server I cannot use a server-side default
directory but need the file to go where I want it even if there has
been an interrupted transmission.
I have tried setting timeout to 0 but the client just goes to sleep and
never awakes and there doesn't seem to be any option to set retry to
forever (the limit is 999).
Do you have any suggestions on how I might be able to accomplish an
interrupted send correctly ?
Thankyou in advance, Rob Irvine
Unix script
set net tcp ( bnestt is a terminal server on our lan, with the PC
connected to port 15)
set host bnestt 2015
set command bytesize 8
set terminal bytesize 8
set parity none
set duplex full
fast
set flow-control xon
set handshake none
set exit warning off
remote cd c:/scar/host
send /usr/hd/vca/hdkrdn2686 C649745.PK2
if failure goto :noupload1
remote cd c:/bcar/host
send /usr/hd/vca/hdkrdn3686 C649745.DA2
if failure goto :noupload2
:quit
quit
:noupload1
echo ERROR NO UPLOAD 1
goto :quit
:noupload2
echo ERROR NO UPLOAD 2
goto :quit
Win95 script
; FILE K95CUSTOM.INI -- Kermit 95 Customizations
assign \%a com1
set line \%a
set speed 9600
set parity none
:ok
set duplex full
set carrier-watch off
set handshake none
set flow-control xon
set terminal bytesize 8
set file display serial
set file collision overwrite
enable delete
fast
log transactions
show version
show comm
server
End ; of K95CUSTOM.INI